// 注册所有页面相关的路由
const router = require('koa-router')();
const pageController = require('../controller/pageController')

//===== 页面访问 ======
router.get('/', pageController.onHomePage);
router.get('/editor', pageController.onHomePage);
router.get('/preview', pageController.onPreview);
router.get('/iframe', pageController.onIframe);

module.exports = router;
